//
//  ReaderGlobalModel.h
//  ebook
//
//  Created by 吴超飞 on 16/1/15.
//  Copyright © 2016年 Moton. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ReaderConfig.h"
#import "ChapterContent.h"

@interface ReaderGlobalModel : NSObject

@property (nonatomic, strong) NSMutableDictionary *attributes;
@property (nonatomic, strong) NSMutableParagraphStyle *paragraphStyle;
@property (nonatomic, strong) ReaderConfig *readerConfig;
@property (nonatomic, strong) UIFont *font;

@property (nonatomic, strong) NSArray *bookshelf;//书架里的书
@property (nonatomic, strong) NSArray *fontsDataArray;//字体列表

+ (instancetype)shareModel;

//计算分页数
- (NSMutableArray *)pagingText:(NSString *)text;

@end
